package com.onlyphoto.onlymall.mvp.contract

import com.onlyphoto.onlymall.base.IBasePresenter
import com.onlyphoto.onlymall.base.IBaseView
import com.onlyphoto.onlymall.bean.request.SmsBean
import com.onlyphoto.onlymall.bean.response.UserInfoBean


interface CLoginBySms {

    interface IPLoginBySms : IBasePresenter {
        fun getVerify(getType: Int, phone: String)
        fun loginBySms()
    }

    interface IVLoginBySms : IBaseView {
        fun getVerifySuccess()
        fun getVerifyFail()
        fun getLoginEntity(): SmsBean
        fun loginSuccess(bean: UserInfoBean)
        fun showMsg(msg: String)
    }
}
